Jan-Philipp Kolb
8 Mai 2017
Markdown ist eine sehr einfache Syntax, die es Benutzern erlaubt, aus einfachen Textdateien gut gelayoutete Dokumente zu erstellen.
**fettes Beispiel**
*kursives Beispiel*
~~durchgestrichen~~
- Aufzählungspunkt
fettes Beispiel
kursives Beispiel
durchgestrichen
### Überschrift Ebene 3
#### Überschrift Ebene 4
[Meine Github Seite](https://github.com/Japhilko)


n=100Ein inline Codeblock: 100
| Argument | Beschreibung |
|---|---|
| eval | Soll Rcode evaluiert werden? |
| warning | Sollen Warnings angezeigt werden? |
| cache | Soll der Output gespeichert werden? |
knitrinstall.packages("knitr")library("knitr")kable um Tabellen zu erzeugenkable erzeugena <- runif(10)
b <- rnorm(10)
ab <- cbind(a,b)
kable(ab)| a | b |
|---|---|
| 0.6270199 | 0.6100286 |
| 0.8631485 | 0.3742776 |
| 0.5925393 | 0.5123502 |
| 0.1367910 | 1.5329615 |
| 0.7009417 | 0.0506878 |
| 0.5726770 | -2.1913698 |
| 0.5449974 | -0.8546935 |
| 0.7179814 | -0.2917793 |
| 0.1605434 | 0.3768956 |
| 0.0929623 | -0.0090389 |
cache=T angegeben ist, wird das Ergebnis des Chunks abgespeichert---
title: "Intro - Erste Schritte"
author: "Jan-Philipp Kolb"
date: "10 April 2017"
output:
beamer_presentation:
colortheme: beaver
theme: CambridgeUS
---
output:
beamer_presentation:
toc: yes
\Sexpr{}
CRANmirror <- "http://cran.revolutionanalytics.com"
cran <- contrib.url(repos = CRANmirror,type = "source")
info <- available.packages(contriburl = cran, type = x)
nrow(info)## [1] 10489
citation() bekommt man sehr schnell die Referenzinstall.packages("RMySQL")citation("RMySQL")##
## To cite package 'RMySQL' in publications use:
##
## Jeroen Ooms, David James, Saikat DebRoy, Hadley Wickham and
## Jeffrey Horner (2017). RMySQL: Database Interface and 'MySQL'
## Driver for R. R package version 0.10.11.
## https://CRAN.R-project.org/package=RMySQL
##
## A BibTeX entry for LaTeX users is
##
## @Manual{,
## title = {RMySQL: Database Interface and 'MySQL' Driver for R},
## author = {Jeroen Ooms and David James and Saikat DebRoy and Hadley Wickham and Jeffrey Horner},
## year = {2017},
## note = {R package version 0.10.11},
## url = {https://CRAN.R-project.org/package=RMySQL},
## }
---
title: "R Schnittstellen"
author: "Jan-Philipp Kolb"
date: "21 April 2017"
output:
pdf_document: default
bibliography: Rschnittstellen.bib
---
date()## [1] "Mon May 08 09:11:53 2017"
$$
\begin{equation}\label{eq2}
t_{i}=\sum\limits_{k=1}^{M_{i}}{y_{ik}}=M_{i}\bar{Y}_{i}.
\end{equation}
$$
Folie mit zwei Spalten
====================================
Erste Spalte
***
Zweite Spalte
transition: rotate
Ein neues Kapitel einfügen
====================================
type: section
Anderer Folientyp
====================================
type: prompt
Noch ein anderer Folientyp
====================================
type: alert
Meine Präsentation
========================================
author: Jan-Philipp Kolb
font-family: 'Impact'
Meine Präsentation
========================================
author: Jan-Philipp Kolb
font-import: http://fonts.googleapis.com/css?family=Risque
font-family: 'Risque'
Normale Schriftgröße
<small>This sentence will appear smaller.</small>

---
title: "ioslides Beispiel"
author: "Jan-Philipp Kolb"
date: "20 April 2017"
output:
ioslides_presentation:
logo: figure/Rlogo.png
---
library(knitr)
a <- data.frame(a=1:10,b=10:1)
kable(table(a))| 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
|---|---|---|---|---|---|---|---|---|---|
| 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
| 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 |
| 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 |
| 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 |
| 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 |
| 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 |
| 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 |
| 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
knitr EnginesUm den Präsentationstyp zu ändern kann man das CSS verändern
install.packages("rticles")Das Paket rmdformats - HTML Output Formats and Templates for ‘rmarkdown’
install.packages("rmdformats")ProjectTemplate - Automates the Creation of New Statistical Analysisinstall.packages("ProjectTemplate")tufte - Tufte’s Styles for R Markdown Documentsinstall.packages("tufte")import sys
print(sys.version)## 3.5.2 (v3.5.2:4def2a2901a5, Jun 25 2016, 22:01:18) [MSC v.1900 32 bit (Intel)]
cmd in Suche eingibt.jupyter notebook